﻿<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
      <!-- link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/bootstrap-table.min.css" integrity="sha256-UP+6xezmmsC027u61a8Ks+Xnp+TftBfw4PcrNyPXC40=" crossorigin="anonymous" / -->
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.css" integrity="sha256-eU4xmpfQx1HSi5q1q2rHNcMEzTNJov7r2Wr/6zF3ANc=" crossorigin="anonymous" />
      <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/extensions/filter-control/bootstrap-table-filter-control.css" integrity="sha256-scTkOuxpT3mjWR36xEaWlCEKBjieTRteuOk3tICdM7M=" crossorigin="anonymous" / -->
      <link rel="stylesheet" href="/css/dashboard.css">
      <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
      <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>

      <!-- Use older version of bootstrap-table until bug is fixed: https://github.com/wenzhixin/bootstrap-table/issues/3729 -->
      <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/bootstrap-table.min.js" integrity="sha256-l+jZldmOASkIPelan4NKyAFD+oGNqPulrVQwsjxuCXc=" crossorigin="anonymous"></script -->
      <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js" integrity="sha256-wM+7Q0ikz4eLE3kaE/Q4Dgb495iz2UzN3leHPLCdXCY=" crossorigin="anonymous"></script -->
      <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/extensions/filter-control/bootstrap-table-filter-control.min.js" integrity="sha256-JpqYkcCJyvE+kxrFvhclJVe8LXkDIrqlio0V90A/yuM=" crossorigin="anonymous"></script -->
      <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/extensions/export/bootstrap-table-export.min.js" integrity="sha256-dgKPXFPCSahQeFL/1cdwPPeEOBLAZR8hUdYIPLb/Jyw=" crossorigin="anonymous"></script -->
      <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.js" integrity="sha256-eXHLyyVI+v6X1wbfg9NB05IWqOqY4E9185nHZgeDIhg=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/extensions/filter-control/bootstrap-table-filter-control.min.js" integrity="sha256-qyXaapsr+PVNpdEqfU2yiqRLYUfClBp88YvLJ6q26/8=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/extensions/export/bootstrap-table-export.min.js" integrity="sha256-bNaAGj3n4fpGsbo2WDr9JJoalh5/CSrz4wlkbk3TS88=" crossorigin="anonymous"></script>
      
      <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js" integrity="sha256-+JMHsXRyeTsws/tzbIh5YHQxRdKCuNjmvNcTFtY6DLc=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
      <script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
      <script src="/js/utilities.js"></script>
      <title>RainbowMiner Local Dashboard</title>
      <link href="/images/favicon.ico" rel="icon" type="image/x-icon" />
    </head>
    <body>
        <nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
            <a class="navbar-brand" href="/">RainbowMiner</a>
            <div class="text-white" id="profit">Loading..</div>
            <div class="text-white" id="updatemsg">New Version <a href="" title="" target="_blank" id="updatelink"></a> available <a href="#" id="updatenow" class="btn btn-sm btn-primary">Update now!</a></div>
            <div class="text-white" id="exchangerates"></div>
        </nav>
    
    <div class="container-fluid">
      <div class="row">
                <nav class="d-none d-md-block bg-light sidebar nav-collapse" id="sidebar">
          <div class="sidebar-sticky">
            <ul class="nav flex-column">
              <li class="nav-item">
                <a id="navdashboard" class="nav-link" href="/">
                  <span data-feather="home"></span>
                  Dashboard
                </a>
              </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>Devices</span>
            </h6>
            <ul class="nav flex-column mb-2">
              <li class="nav-item">
                <a id="navdevices" class="nav-link" href="devices.html">
                  <i class="fas fa-microchip"></i>Selected Devices
                </a>
              </li>
              <li class="nav-item">
                <a id="navalldevices" class="nav-link" href="alldevices.html">
                  <i class="fas fa-microchip"></i>All Devices
                </a>
              </li>
            </ul>

            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>Pools</span>
            </h6>
            <ul class="nav flex-column mb-2">
              <li class="nav-item">
                <a id="navbestpools" class="nav-link" href="bestpools.html">
                  <i class="fas fa-folder"></i>Best Pools
                </a>
              </li>
              <li class="nav-item">
                <a id="navallpools" class="nav-link" href="allpools.html">
                  <i class="fas fa-folder-open"></i>All Pools
                </a>
              </li>
            </ul>

            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>Miners</span>
            </h6>
            <ul class="nav flex-column mb-2">
                <li class="nav-item">
                    <a id="navallminers" class="nav-link" href="miners.html">
                        <i class="fas fa-folder"></i>Miners
                    </a>
                </li>
                <li class="nav-item">
                    <a id="navactiveminers" class="nav-link" href="activeminers.html">
                        <i class="fas fa-folder-open"></i>Active Miners
                    </a>
                </li>
                <li class="nav-item">
                    <a id="navminerstats" class="nav-link" href="minerstats.html">
                        <i class="fas fa-folder-open"></i>Benchmarks
                    </a>
                </li>
                <li class="nav-item">
                    <a id="navactivity" class="nav-link" href="activity.html">
                        <i class="fas fa-folder-open"></i>Activity
                    </a>
                </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>Config</span>
            </h6>
            <ul class="nav flex-column mb-2">
              <li class="nav-item">
                <a id="navrunningconfig" class="nav-link" href="runningconfig.html">
                  <i class="fas fa-folder-open"></i>Running Config
                </a>
              </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>Links</span>
            </h6>
            <ul class="nav flex-column mb-2">
              <li class="nav-item">
                <a class="nav-link" href="https://github.com/RainbowMiner/RainbowMiner">
                  <i class="fab fa-github"></i>Github
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="API.html">
                  <i class="fas fa-book"></i>API Documentation
                </a>
              </li>
            </ul>
          </div>
        </nav>
        <main role="main" class="main col-sm-12">
        
        <!-- Modal -->
        <div class="modal fade" id="myModal" role="dialog">
          <div class="modal-dialog">
            <!-- Modal content-->
            <div class="modal-content">
              <div class="modal-header">
                <h4 class="modal-title"></h4>
              </div>
              <div class="modal-body">
              </div>
              <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
              </div>
            </div>
          </div>
        </div>